home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / program / amos / amoslist.lzh / AMOSLIST / 000368_amos-request@svcs1.digex.net_Wed Sep 27 17:06:27 1995.msg < prev    next >
Internet Message Format  |  1995-10-02  |  3KB

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224]) by mail1.access.digex.net (8.6.12/8.6.12) with ESMTP id RAA08694;  for <mcox@access.digex.net> ; Wed, 27 Sep 1995 17:06:25 -0400
  2. Received: (from daemon@localhost) by svcs1.digex.net (8.6.12/8.6.12) id OAA05275 for amos-out; Wed, 27 Sep 1995 14:19:19 -0400
  3. Received: from mail1.access.digex.net (mail1.access.digex.net [205.197.247.2]) by svcs1.digex.net (8.6.12/8.6.12) with ESMTP id OAA05271 for <amos-list@svcs1.digex.net>; Wed, 27 Sep 1995 14:19:18 -0400
  4. Received: from red.paston.co.uk (red.paston.co.uk [194.129.188.3]) by mail1.access.digex.net (8.6.12/8.6.12) with SMTP id OAA18122;  for <amos-list@access.digex.net> ; Wed, 27 Sep 1995 14:19:15 -0400
  5. Received: from localhost (bwyatt.paston.co.uk) by red.paston.co.uk (5.x/SMI-SVR4)
  6.     id AA03125; Wed, 27 Sep 1995 19:11:47 +0100
  7. Received: by paston.co.uk.uucp (V1.16/Amiga)
  8.     id AA001z8; Wed, 27 Sep 95 23:02:46 GMT
  9. Date: Wed, 27 Sep 95 23:02:46 GMT
  10. Message-Id: <9509272302.AA001z7@paston.co.uk.uucp>
  11. In-Reply-To:  <9509271355.aa19275@agora.stm.it>
  12.              (from M.Berionne@agora.stm.it)
  13.              (on Wed, 27 Sep 95 13:52:12)
  14. Lines: 33
  15. X-Mailer: ADMail 1.5 Copyright 1995 S.T.Brown
  16. From: bwyatt@paston.co.uk (Ben Wyatt)
  17. To: amos-list@access.digex.net
  18. Subject: Re: Help me!
  19. Status: RO
  20. X-Status: 
  21.  
  22. Greetings M.Berionne@agora.stm.it, you wrote some text on the subject
  23. Re: Help me!, and now I'm going to answer it.
  24.  
  25. M> >PH> and the draw part should be:
  26. M> >PH> Draw To X+(SI(N)*R)/256,Y-(CO(N)*R)/256
  27. M> >PH>
  28. M> >PH> the /256 is done with bitshifting so it don't take much of time,
  29. M> >PH> at least when compiled. Btw. isn't AMCAF's Turbo draw much faster?
  30. M> >PH> If you have AMCAF (or Turbo extension) use it instead of amos!
  31. M> 
  32. M> Why do you use *256 and then /256?? Does it give extra speed??
  33.  
  34. 256=2^8, numerical work involving powers of 2 are optimised (with the
  35. pro compiler) by shifting the variable in memory however many bits. If
  36. you don't understand this, then all you need to know is that it's much
  37. faster and can be used instead of very slow floating point numbers.
  38.  
  39. M>  > AMCAF can also be used for the precalculated Sines and Cosines (QSin,
  40. M>  > QCos)
  41. M>  > It uses 0-1023 as 0-359 degrees, so triple (approx.) STP.
  42. M> 
  43. M> But I'm not registered to AMCAF and then I couldn't compile it!!
  44.  
  45. Here's a solution:
  46.  
  47.      Register
  48.  
  49. :-)
  50.  
  51. Bye  _________________________________
  52.     /                                 \
  53.     > Ben Wyatt - bwyatt@paston.co.uk <
  54.     \_________________________________/ ï¿½1995 Very Interesting Signatures